import { ajax } from '@/utils'

const baseUrl = '/yswy-zy-activity'

export default {
  /**
   * 获取ticket
   */
  getAccessTicket(pageId: string): Promise<any> {
    return ajax.get(`${baseUrl}/index/token?worksId=${pageId}`)
  }
}
